import request from '@/utils/request'

// 获取部门
export function listDept() {
    return request({
        url: '/dptusertree/getTree',
    })
}

//多条件查询获取部门
export function getDptMulti(data){
    return request({
        url: "/department/multiQueryPaged",
        method: "post",
        data: data
    })
}

// 查询所有部门及其子节点
export function treeAllDept() {
    return request({
        url: '/api/deptsTree/getAllDepartmentTree',
    })
}